package com.cuotigou.pojo;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 知识课堂支付表
 * 
 * @author wcyong
 * 
 * @date 2018-11-09
 */
public class SKnowledgePay {
    private Long id;

    /**
     * 学生id
     */
    private Long userId;

    /**
     * 课堂id
     */
    private Integer knowledgeId;

    /**
     * 0 未支付 1 已支付
     */
    private Integer isPay;


    private Date addTime;

    private Date modifyTime;

    /**
     * 金额
     */
    private BigDecimal value;

    /**
     * 订单号
     */
    private String orderNo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getKnowledgeId() {
        return knowledgeId;
    }

    public void setKnowledgeId(Integer knowledgeId) {
        this.knowledgeId = knowledgeId;
    }

    public Integer getIsPay() {
        return isPay;
    }

    public void setIsPay(Integer isPay) {
        this.isPay = isPay;
    }


    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }


    public BigDecimal getValue() {
        return value;
    }

    public void setValue(BigDecimal value) {
        this.value = value;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo == null ? null : orderNo.trim();
    }
}